from django.conf.urls import url

from complains.views import ComplainListView, SendComplainView,  ComplainCommentLikeView, \
    ComplainCommentView, ComplainDetailView

urlpatterns = [
    url(r'^complains/$', ComplainListView.as_view()),
    url(r'^complains/(?P<pk>\d+)/$', ComplainDetailView.as_view()),
    url(r'^complains/send_complain/$', SendComplainView.as_view()),
    url(r'^complains/(?P<pk>\d+)/comments//$', ComplainCommentView.as_view()),
    url(r'^complains/commentlike/(?P<pk>\d+)/$', ComplainCommentLikeView.as_view()),

]